package com.shire.shire_interface.dao.group;

import com.shire.shire_interface.model.group.WxGroupInviteHistory;
import com.shire.shire_interface.model.group.WxGroupInviteHistoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxGroupInviteHistoryDao {
    long countByExample(WxGroupInviteHistoryExample example);

    int deleteByExample(WxGroupInviteHistoryExample example);

    int deleteByPrimaryKey(Integer inviteId);

    int insert(WxGroupInviteHistory record);

    int insertSelective(WxGroupInviteHistory record);

    List<WxGroupInviteHistory> selectByExample(WxGroupInviteHistoryExample example);

    WxGroupInviteHistory selectByPrimaryKey(Integer inviteId);

    int updateByExampleSelective(@Param("record") WxGroupInviteHistory record, @Param("example") WxGroupInviteHistoryExample example);

    int updateByExample(@Param("record") WxGroupInviteHistory record, @Param("example") WxGroupInviteHistoryExample example);

    int updateByPrimaryKeySelective(WxGroupInviteHistory record);

    int updateByPrimaryKey(WxGroupInviteHistory record);

    int batchInsertByPrimaryKeySelective(@Param(value = "recordList") List<WxGroupInviteHistory> recordList);
}